using System.Web.Mvc;

namespace WebLogic.Controllers
{
    public class TaskController:Controller
    {
        private IApplicationService service;

        public TaskController()
        {
            this.service = new ApplicationServiceClient();
        }

        [Authorize]
        public void KillTask(int taskId)
        {
            service.KillTask(taskId);
        }
    }
}